#include "server.hpp"

int main(int arg,char** args){
    if(arg != 2){
        printf("./server [port]");
        exit(0);
    }

    uint16_t port = std::stoi(args[1]);

    std::shared_ptr<server> ser = std::make_shared<server>(port);

    ser->init();

    ser->start();


    return 0;
}